package cn.mdmm.fund;

import org.junit.Test;

import cn.mdmm.base.InterfaceBaseTest;
import cn.mdmm.base.URLCOMMON;

public class FundTest extends InterfaceBaseTest {

	@Override
	public String getUrl() {
		return URLCOMMON.DEVELOP_URL;
	}
	
	@Test
	public void getTypes() {
		paramMap.put("method", "type.list");
		paramMap.put("sessionKey", "2498e860793bf519dfa3da30267d316e");
		paramMap.put("pid", "4");
	}
	
	@Test
	public void getFundList() {
		paramMap.put("method","fund.list");
		paramMap.put("sessionKey", "2498e860793bf519dfa3da30267d316e");
		paramMap.put("fundName", "");
		paramMap.put("level", "");

		paramMap.put("date","2017-08-15");
	}
	
	@Test
	public void getFund() {
		paramMap.put("method", "fund.get");
		paramMap.put("sessionKey", "3f8e920359fd77574cbb3e6367966df5");
		paramMap.put("id", "1");
	}
}